package com.demo.elastic;


import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@SpringBootApplication
@EnableElasticsearchRepositories(basePackages = "com.demo.elastic.dao")
@Log4j2
public class MpApplication {

    public static void main(String[] args) {
        SpringApplication.run(MpApplication.class, args);
        log.info("elastic start success!");
    }

}
